package com.waya.string;

public class StringDemo3 {
    public static void main(String[] args) {
        String str = "aa,bb,cc";
        String[] strings = str.split(",");
        System.out.println(strings);
        for (int i = 0; i < strings.length; i++) {
            System.out.println(strings[i]);
        }
    }
}
